package com.tc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.time.LocalDateTime;

/**
 * <p>
 * 被保险人数据传输对象
 * </p>
 *
 * @author tc
 * @since 2025-07-10
 */
@Data
@ApiModel(value = "Insured_personDTO对象", description = "被保险人数据传输对象")
public class Insured_personDTO {
    
    @ApiModelProperty(value = "主键id")
    private Long patientId;

    @ApiModelProperty(value = "姓名")
    @NotBlank(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "身份证号")
    @NotBlank(message = "身份证号不能为空")
    private String idCard;

    @ApiModelProperty(value = "住院号")
    private String hospitalNumber;

    @ApiModelProperty(value = "性别（男/女）")
    @NotBlank(message = "性别不能为空")
    private String gender;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "出生日期")
    private LocalDateTime birthDate;

    @ApiModelProperty(value = "支付类型（自费/医保）")
    @NotBlank(message = "支付类型不能为空")
    private String paymentType;

    @ApiModelProperty(value = "医保人员类型（在职/退休）")
    private String personCategory;
    
    @ApiModelProperty(value = "医院等级（三级/二级/一级）")
    private String hospitalLevel;

    @ApiModelProperty(value ="家庭住址")
    private String address;
}
